package com.angel.web.health;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.angel.core.util.JsonUtil;
import com.angel.health.BuzSurvey;
import com.angel.provider.health.BuzSurveyProvider;

@Controller
@RequestMapping("/surver")
public class BuzSurveyController {

	@Autowired
	private BuzSurveyProvider provider;
	
	@RequestMapping("/save")
	@ResponseBody
	public String save(BuzSurvey survey){
		int i = provider.save(survey);
		return "";
	}

}
